package org.emergency.framework.filter;

import java.io.IOException;

import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;

import org.apache.struts2.dispatcher.Dispatcher;
import org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter;

/**
 * Struts2 Filter 
 * @author Zheng
 * @since 2011-01-29
 */
public class EMStruts2Filter extends StrutsPrepareAndExecuteFilter {

	@Override
	public void init(FilterConfig config) throws ServletException {
		super.init(config);
	}

	@Override
	public void destroy() {
		super.destroy();
	}

	@Override
	public void doFilter(ServletRequest request, ServletResponse response,
			FilterChain filterChain) throws IOException, ServletException {
		super.doFilter(request, response, filterChain);
	}

	@Override
	protected void postInit(Dispatcher dispatcher, FilterConfig filterConfig) {
		super.postInit(dispatcher, filterConfig);
	}

}
